//
//  ZOfficesModel.m
//  DoctorFAQs
//
//  Created by zjq on 17/3/17.
//  Copyright © 2017年 zjq. All rights reserved.
//

#import "ZOfficesModel.h"

@implementation ZOfficesModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}//防止多余 key
- (instancetype)initWithDict:(NSDictionary *)dict {
    self = [super init];
    if (self) {
        self.offID = dict[@"id"];
        self.title = dict[@"title"];
        CGSize size =[self.title sizeWithAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:15]}];
        self.oWidth = size.width + 20;
    }
    return self;
}

@end
